function submit(){
	 
	   var user=$("#user").val();
	   var pass=$("#pass").val();
	   $.ajax({
	   url:"search",
	   method:"post",
	   data:{
	   user:user,
	   pass:pass
	   },
	   dataType:"json",
	   success:function(data){
	   if(data.status=="success")
	   window.location.href="manager";
	   else if(data.status=="fail")
	   alert("fail");
	   },
	   error:function(data)
	   { alert("no");}
	   });
	  }